import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';
// import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'line-md:list-3-twotone',
      keepAlive: true,
      order: 9,
      title: '商品管理',
    },
    name: 'ShopGoods',
    path: '/shopGoods',
    redirect: '/shop-goods/up-shop-goods',
    children: [
      {
        meta: {
          title: '商品列表',
          // hideInMenu: true,
        },
        name: 'upShopGoods',
        path: '/shop-goods/up-shop-goods',
        component: () => import('#/views/shopGoods/upShopGoods/index.vue'),
      },
    ],
  },
];

export default routes;
